<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
<h2>云笔记</h2>
{% if uname %}
欢迎{{ uname }}
<a href="/note/">查看笔记</a>
<a href="/user/logout/">注销</a>
{% else %}
<a href="/user/reg/">没有账号?立即注册</a>
<a href="/user/login/">已有账号,立即登录</a>
{% endif %}
</body>
</html>